package com.neu.envprotection.feedback.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.envprotection.feedback.dao.entity.Rank;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @date 2024/06/07
 */
public interface RankMapper extends BaseMapper<Rank> {
        @Select("SELECT id, rank_category, rank_content FROM `rank`")
        List<Rank> selectRanks();

}
